<!DOCTYPE HTML>
<html>
	<head>
		<title>2Dtests.</title>
		<link rel="stylesheet" href="css/mainStyles.css" type="text/css" media="screen"/>
	</head>
<body>
	<canvas id="mainMapCanvasId"></canvas>

    <script src="js/Constants.js" type="text/javascript"></script>	
    <script src="js/util/pathfinding/pathfinding-browser.js" type="text/javascript"></script>	
    <script src="js/util/pathfinding/PFUtil.js" type="text/javascript"></script>	
    <script src="js/util/OOUtils.js" type="text/javascript"></script>	
    <script src="js/util/kdtree/KDTree_Node.js" type="text/javascript"></script>	
    <script src="js/util/kdtree/BinaryHeap.js" type="text/javascript"></script>	
    <script src="js/util/kdtree/KDTree.js" type="text/javascript"></script>	
    <script src="js/renderer/CoordinatesUtil.js" type="text/javascript"></script>	
    <script src="js/objects/PaintableType.js" type="text/javascript"></script>	
    <script src="js/objects/Paintable.js" type="text/javascript"></script>	
    <script src="js/objects/NonSelectable.js" type="text/javascript"></script>	
    <script src="js/objects/units/Scout.js" type="text/javascript"></script>	
    <script src="js/objects/obj/Tree.js" type="text/javascript"></script>	
    <script src="js/objects/ObjectBag.js" type="text/javascript"></script>	
    <script src="js/input/MainMapInputHandler.js" type="text/javascript"></script>	
    <script src="js/input/KeyboardInputHandler.js" type="text/javascript"></script>	
    <script src="js/input/EventsUtil.js" type="text/javascript"></script>	
    <script src="js/input/InputHandler.js" type="text/javascript"></script>	
    <script src="js/gui/Cammera.js" type="text/javascript"></script>	
    <script src="js/gui/Gui.js" type="text/javascript"></script>	
    <script src="js/Model.js" type="text/javascript"></script>	
    <script src="js/renderer/MainMapRenderer.js" type="text/javascript"></script>	
    <script src="js/renderer/StatsPane.js" type="text/javascript"></script>	
    <script src="js/renderer/StatsRenderer.js" type="text/javascript"></script>	
    <script src="js/renderer/DebugRenderer.js" type="text/javascript"></script>	
    <script src="js/renderer/RenderUtil.js" type="text/javascript"></script>	
    <script src="js/renderer/Renderer.js" type="text/javascript"></script>	
    <script src="js/map/Cell.js" type="text/javascript"></script>	
    <script src="js/map/Map.js" type="text/javascript"></script>	
    <script src="js/map/MapUtils.js" type="text/javascript"></script>	
    <script src="js/Game.js" type="text/javascript"></script>	
	
	<script type="text/javascript">
		document.body.onload = function() {"use strict";
			var canvas = document.getElementById('mainMapCanvasId');
			if (canvas.getContext) {
				//
				// Start Game
				Game.start();
			} else {
				//
				// browser doesn't have canvas support
				alert('Please, upgrade to an HTML5 compliant browser');
			}
		};
	</script>
</body>
</html>
